package com.myproject.myspringboot.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author hushuhua
 * @date 2020/2/20 15:00
 * @discription
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ReturnPageVo implements Serializable {
    /**
     * 消息
     */
    private String msg;

    /**
     * 状态码 0 成功  1失败
     */
    private Integer code;

    /**
     * 总数量，用于分页
     */
    private long count;

    /**
     * 返回的数据
     */
    private List data;
}
